<?php

/*------------------------------------------------
*
*   Explay Engine Content Management System.
*   Copyright © 2008 Golovdinov Alexander.
*
*-------------------------------------------------
*
*   Official site: wwww.alex-home.spb.ru/explay.html
*   Contact e-mail: golovdinov@gmail.com
*
*   GNU General Public License original source:
*   http://www.gnu.org/licenses/gpl-3.0.html
*
------------------------------------------------*/


$file = file ($_SERVER['DOCUMENT_ROOT'].'/modules/ajax/map.txt');

/*exit ('<script>alert("'._get(1).'");</script>');*/

foreach ($file as $string) {
	$module = explode ('|', $string);
	if (trim($module[0]) == _get(1)) include $_SERVER['DOCUMENT_ROOT'].'/modules/ajax/files/'.trim($module[1]);
}